package com.kpmg.datalake.common.vo;

import com.alibaba.fastjson.JSONObject;

/**
 * @author Alex.zhao [alex.zhao@kpmg.com]
 * @since Created on azhao6 on 2018-06-27 13:14:47
 */
public class ThreeParameter<K, V, T> extends KeyAndValueDTO<K, V> {
    private transient T msg;

    public ThreeParameter() {
    }

    public ThreeParameter(K key, V value, T msg) {
        super(key, value);
        this.msg = msg;
    }

    public ThreeParameter(K key, V value) {
        super(key, value);
    }

    public T getMsg() {
        return this.msg;
    }

    public void setMsg(T msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "ThreeParameter " + JSONObject.toJSONString(this);
    }
}
